/**
 * Created with JetBrains WebStorm.
 * User: 可乐加糖
 * Date: 13-10-14
 * Time: 下午1:39
 * To change this template use File | Settings | File Templates.
 */

var http = require("http");

var server = http.createServer();

var handlerReq = function(req,res){
    res.writeHead(200,{});
    res.end('hello world');
};
server.on('request',handlerReq);
server.listen(8125);